package com.ourteam.system.dao;

import net.dao.IDataAccessInterface;


/**
 * Template Name : DAO接口模板
 * Template Version : 1
 * Template Last Modfiy Date : Thu Sep 21 11:14:14 CST 2017
 * Auto Generate Date : 2018-07-31 15:13:17
  * Warning ! This file will be overwrite when regenerate !
  *
 */
public interface IBaseSysUserPasswordDAO extends IDataAccessInterface<SysUserPassword, SysUserPasswordDAOQueryBean> {
    /**
        *  Mapped Entity Name
        */
    static final String EntityName = "USERS";

    /**
     * Mapped Field USERNAME
    */
    static final String UserName = "USERS.USERNAME";

    /**
     * Mapped Field ENABLED
    */
    static final String Enabled = "USERS.ENABLED";

    /**
     * Mapped Field PASSWORD
    */
    static final String Password = "USERS.PASSWORD";

    /**
     * Delete Data
     * @param final String userName
     * @throws Exception
     */
    void delete(final String userName) throws Exception;

    /**
         * Find Data By Primary Key
         * @param  final String userName
         * @throws Exception
         */
    SysUserPassword findById(final String userName) throws Exception;

    static public interface DataProperty {
        /**
         * Attribute userName
         */
        static final String UserName = "userName";

        /**
         * Attribute enabled
         */
        static final String Enabled = "enabled";

        /**
         * Attribute password
         */
        static final String Password = "password";
    }

    static public interface _DataObjectProperty extends DataProperty {
    }
}
